// import { PLATFORM_Map } from "@/constant/index";

// export default {
// 	path: '/project-management',
// 	redirect: '/project-management/project-management',
// 	meta: {
// 		title: '项目管理',
// 		showLink: true,
// 		rank: 9,
// 	},
// 	children: [
// 		{
// 			name: 'project-management',
// 			path: '/project-management/project-management',
// 			component: () => import('@/views/project-management/project-management/index.vue'),
// 			meta: {
// 				title: '厂家管理',
//       }
//     }
//   ]
// } satisfies RouteConfigsTable;
import projectmanagementa from "@/assets/images/leftminsvg/projectmanagementa.svg?component";
import { PLATFORM_Map } from "@/constant/index";
export default {
  path: '/project-management',
  redirect: '/project-management/project-management',
  meta: {
    title: '项目管理',
    showLink: true,
    icon: projectmanagementa,
    rank: 1,
    platform: [PLATFORM_Map.operate]
  },
  children: [

    {
      path: "/project-management/project-management",
      name: "project-management",
      component: () => import("@/views/operate/project-management/project-management/index.vue"),
      meta: {
        title: "项目信息",
				showParent: true,
        roles: ['business.project.select']
      }
    },
    {
      path: "/project-management/Settings",
      name: "Settings",
      component: () => import("@/views/operate/project-management/project-management/settings.vue"),
      meta: {
        title: "项目设置",
				showParent: true,
        roles: ['business.project-setting']
      }
    },
    {
      name: 'project-management/architectural-settings',
      path: '/operate/project-management/project-management/architectural-settings',
      component: () => import('@/views/operate/project-management/project-management/architectural-settings/index.vue'),
      meta: {
        title: '建筑管理',
				showParent: true,
        roles: ['business.project-building.select']
      }
    },
    {
      name: 'project-management/drawing-management',
      path: '/operate/project-management/project-management/drawing-management',
      component: () => import('@/views/operate/project-management/project-management/drawing-management/index.vue'),
      meta: {
        title: '图纸管理',
				showParent: true,
        roles: ['business.project-drawing.select']
      }
    },
    {
      name: 'configuration-management',
      path: '/operate/project-management/configuration-management',
      component: () => import('@/views/operate/project-management/configuration-management/index.vue'),
      meta: {
        title: '组态管理',
				showParent: true,
        roles: ['business.topo.list']
      }
    },
    {
      name: 'project-management/facility-grouping',
      path: '/operate/project-management/project-management/facility-grouping',
      component: () => import('@/views/operate/project-management/project-management/facility-grouping/index.vue'),
      meta: {
        title: '设施分组',
				showParent: true,
        roles: ['business.project-group.select']
      }
    },
    {
      name: 'project-management/facility-management',
      path: '/operate/project-management/project-management/facility-management',
      component: () => import('@/views/operate/project-management/project-management/facility-management/index.vue'),
      meta: {
        title: '设施管理',
				showParent: true,
        roles: ['business.project-facilit.select']
      }
    },




  ]
} satisfies RouteConfigsTable;



